export default {
  // Common
  common: {
    confirm: "Confirm",
    cancel: "Cancel",
    save: "Save",
    reset: "Reset",
    search: "Search",
    edit: "Edit",
    view: "View",
    delete: "Delete",
    add: "Add",
    submit: "Submit",
    back: "Back",
    close: "Close",
    loading: "Loading...",
    success: "Success",
    error: "Error",
    warning: "Warning",
    info: "Info",
    enterFullscreen: "Enter Fullscreen",
    exitFullscreen: "Exit Fullscreen",
    disable: "No",
    enable: "Yes",
    operation: "Operation",
    input_placeholder: "Please input {type}",
    select_placeholder: "Please select {type}",
    addChild: "Add Child",
  },

  function: {
    syncCache: "Sync Cache",
    addItem: "Add {type}",
    deleteItem: "Delete {type}",
    deleteItems: "Delete selected {type}",
    editItem: "Edit {type}",
    viewItem: "View {type}",
  },

  table: {
    columnSettings: "Column Settings",
    loadColumnSettingsFailed: "Load column settings failed",
    mini: "Mini",
    small: "Small",
    medium: "Medium",
    large: "Large",
    expandCollapse: "Expand/Collapse",
  },

  // Navigation and Menu
  nav: {
    home: "Home",
    test1: "Test 1",
    projectDoc: "Project Documentation",
    globalSettings: "Global Settings",
    layoutSwitch: "Layout Switch",
    userProfile: "User Profile",
    changePassword: "Change Password",
    logout: "Logout",
    internationalSetting: "International Setting",
  },

  // Layout Settings
  layout: {
    themeStyleSettings: "Theme Style Settings",
    themeStyle: "Theme Style",
    themeColor: "Theme Color",
    systemLayoutSettings: "System Layout Settings",
    menuPosition: "Menu Position",
    left: "Left",
    top: "Top",
    interfaceDisplay: "Interface Display",
    showBreadcrumb: "Show Breadcrumb",
    showTabs: "Show Tabs",
    fixedHeader: "Fixed Header",
  },

  // Setting
  setting: {
    contentAndDisplay: "Content and Display",
    international: "International",
    other: "Other",
  },

  // International Setting
  internationalSetting: {
    namespace: "Namespace",
    keyPath: "Key Path",
    value: "Value",
    status: "Status",
    description: "Description",
  },

  // Messages
  message: {
    searchSuccess: "Search successful",
    addSuccess: "Add successful",
    addFailed: "Add failed",
    modifySuccess: "Modify successful",
    modifyFailed: "Modify failed",
    layoutSaved: "Layout configuration saved",
    layoutReset: "Layout configuration reset",
    passwordChangeSuccess: "Password changed successfully",
    logoutSuccess: "Logout successful",
    languageSwitched: "Language switched successfully",
    languageWillTakeEffect: "Language will take effect after page refresh",
    operationSuccess: "Operation successful",
    operationFailed: "Operation failed",
    deleteSuccess: "Delete successful",
    deleteFailed: "Delete failed",
    deleteCanceled: "Delete canceled",
    selectItemsToDelete: "Please select items to delete",
    confirmDelete: "Are you sure you want to delete the selected items?",
    deleteConfirm: "Delete Confirm",
    enterFullscreenSuccess: "Entered fullscreen mode",
    exitFullscreenSuccess: "Exited fullscreen mode",
    fullscreenError: "Fullscreen operation failed",
    queryFailed: "Query failed",
  },

  // Language Switch
  language: {
    current: "Current Language: English",
    switch: "Click to switch to Chinese",
    chinese: "中文",
    english: "English",
    ch: "Chinese",
    en: "English",
  },

  // Form Validation
  validation: {
    required: "This field is required",
    email: "Please enter a valid email address",
    phone: "Please enter a valid phone number",
    password: "Password must be at least 6 characters",
    confirmPassword: "Passwords do not match",
  },

  // Page Titles
  title: {
    dashboard: "Dashboard",
    userManagement: "User Management",
    roleManagement: "Role Management",
    menuManagement: "Menu Management",
    systemSettings: "System Settings",
  },

  // Test Page
  test: {
    content: "Content",
    footer: "Footer",
    option1: "Option 1",
    option2: "Option 2",
    option3: "Option 3",
    option1_1: "Option 1-1",
    option1_2: "Option 1-2",
    option2_1: "Option 2-1",
    option2_2: "Option 2-2",
    inputField: "Input Field",
    selectField: "Select Field",
    treeSelect: "Tree Select",
    datePicker: "Date Picker",
    switchSelect: "Switch Select",
  },

  // Home Page
  home: {
    welcomeTitle: "Welcome to Admin Management System",
    welcomeDesc:
      "This is a powerful admin management system with integrated practical functions and components",
    userTotal: "Total Users",
    goodsTotal: "Total Goods",
    orderTotal: "Total Orders",
    totalIncome: "Total Income",
    todoList: "Todo List",
    todoItems: "items",
    systemNotice: "System Notice",
    recentUpdate: "Recent Update",
    projectProgress: "Project Progress",
    realTimeMonitor: "Real-time Monitor",
    systemUpdate: "System Update",
    featureOptimization: "Feature Optimization",
    bugFix: "Bug Fix",
    dataBackup: "Data Backup",
    inProgress: "In Progress",
    pending: "Pending",
    completed: "Completed",
    systemUpgradeComplete: "System Upgrade Complete",
    newFeatureRelease: "New Feature Release",
    systemMaintenanceNotice: "System Maintenance Notice",
    importantUpdate: "Important Update",
    projectA: "Project A",
    projectB: "Project B",
    projectC: "Project C",
    projectD: "Project D",
    treeSelect: "Tree Select",
    datePicker: "Date Picker",
    switchSelect: "Switch Select",
  },

  // Component
  component: {
    search: {
      search_button: "Search",
      reset_button: "Reset",
      input_placeholder: "Please Input ",
      select_placeholder: "Please Select ",
    },
    table: {
      noFixed: "No Fixed",
      leftFixed: "Left Fixed",
      rightFixed: "Right Fixed",
    },
  },

  // Form Designer
  formDesigner: {
    // Component Panel
    componentPanel: {
      components: "Components",
      outline: "Outline",
      basicFormComponents: "Basic Form Components",
      contentDisplayComponents: "Content Display Components",
      layoutComponents: "Layout Components",
      todoComponentsList: "TODO Components List:",
      todoComponents:
        "Autocomplete, InputTag, Rate, Mention, Virtualized Select, Upload, etc.",
      noFormItems: "No form items",
      column: "Column",
      unknownComponent: "Unknown Component",
      // Component Types
      componentTypes: {
        input: "Input",
        number: "Number",
        textarea: "Textarea",
        select: "Select",
        radio: "Radio",
        checkbox: "Checkbox",
        date: "Date Picker",
        time: "Time Picker",
        switch: "Switch",
        slider: "Slider",
        treeselect: "Tree Select",
        cascader: "Cascader",
        tree: "Tree",
        descriptions: "Descriptions",
        grid: "Grid Layout",
      },
      // Component Type Names (for outline display)
      componentTypeNames: {
        input: "Input",
        number: "Number Input",
        textarea: "Textarea",
        select: "Select",
        time: "Time Picker",
        cascader: "Cascader",
        radio: "Radio",
        checkbox: "Checkbox",
        date: "Date Picker",
        switch: "Switch",
        slider: "Slider",
        grid: "Grid Layout",
        tree: "Tree",
        treeselect: "Tree Select",
        descriptions: "Descriptions",
        layoutGrid: "Layout Grid",
      },
    },

    // Design Canvas
    designCanvas: {
      // Toolbar buttons
      toolbar: {
        import: "Import",
        export: "Export",
        preview: "Preview",
        generateCode: "Generate Code",
        clear: "Clear",
      },
      // Grid layout
      grid: {
        addColumn: "Add Grid",
        deleteColumn: "Delete Grid",
        gridSpace: "Grid Space",
        colWidth: "Column Width",
      },
      // Empty state prompts
      empty: {
        dragHere: "Drag components here",
        startDesign:
          "Drag components from the left panel to start designing your form",
        emptyComponent: "Please select a component",
      },
    },

    // Property Panel
    propertyPanel: {
      // Tabs
      tabs: {
        component: "Component Properties",
        form: "Form Properties",
      },

      // Basic Configuration
      basic: {
        title: "Basic Configuration",
        componentType: "Component Type",
        fieldId: "Field ID",
        fieldName: "Field Name",
        labelWidth: "Label Width",
        placeholder: "Placeholder",
        fieldIdTooltip:
          "The field ID corresponding to the component is used to bind with the component's data. The field ID must start with a letter to ensure proper identification.",
        clickToSwitchUnit: "Click to switch unit",
        widthPlaceholder: "Please input width",
        size: "Size",
        large: "Large",
        default: "Default",
        small: "Small",
      },

      // Property Configuration
      properties: {
        title: "Property Configuration",
        disabled: "Disabled",
        clearable: "Clearable",
        multiple: "Multiple",
        filterable: "Filterable",
        collapseTags: "Collapse Tags",
        maxCollapseTags: "Max Collapse Tags",
        multipleLimit: "Multiple Limit",
        showBorder: "Show Border",
        buttonStyle: "Button Style",
        minSelection: "Min Selection",
        maxSelection: "Max Selection",
      },

      // Input Properties
      input: {
        inputType: "Input Type",
        maxLength: "Max Length",
        showWordLimit: "Show Word Limit",
        types: {
          text: "Text",
          password: "Password",
          email: "Email",
          number: "Number",
          tel: "Phone",
          url: "URL",
        },
      },

      // Number Input Properties
      number: {
        min: "Min",
        max: "Max",
        minValue: "Min Value",
        maxValue: "Max Value",
        step: "Step",
        precision: "Precision",
        stepStrictly: "Step Strictly",
        controlsPosition: "Controls Position",
        controlsPositionPlaceholder: "Please select controls position",
        positions: {
          right: "Right",
          both: "Both Sides",
        },
      },

      // Textarea Properties
      textarea: {
        rows: "Rows",
        autosize: "Auto Size",
        minRows: "Min Rows",
        maxRows: "Max Rows",
        maxLength: "Max Length",
        showWordLimit: "Show Word Limit",
        switchToSimple: "Switch to Simple Mode",
        switchToAdvanced: "Switch to Advanced Mode",
      },

      // Date Picker Properties
      date: {
        clearable: "Clearable",
        multiple: "Multiple",
        rangeable: "Range Selection",
        dateType: "Date Type",
        format: "Date Format",
        dates: "Multiple Dates",
        months: "Multiple Months",
        years: "Multiple Years",
        date: "Date",
        datetime: "Date Time",
        year: "Year",
        month: "Month",
        week: "Week",
        daterange: "Date Range",
        datetimerange: "Date Time Range",
        yearrange: "Year Range",
        monthrange: "Month Range",
      },

      // Switch Properties
      switch: {
        activeText: "Active Text",
        inactiveText: "Inactive Text",
        activeValue: "Active Value",
        inactiveValue: "Inactive Value",
        boolean: "Boolean",
        string: "String",
        number: "Number",
        activeTextPlaceholder: "Please enter text to display when active",
        inactiveTextPlaceholder: "Please enter text to display when inactive",
      },

      // Slider Properties
      slider: {
        minValue: "Min Value",
        maxValue: "Max Value",
        step: "Step",
        showInput: "Show Input",
        showInputControls: "Show Input Controls",
        showStops: "Show Stops",
        showTooltip: "Show Tooltip",
        range: "Range Selection",
        vertical: "Vertical Mode",
        height: "Slider Height",
      },

      // Tree Select Properties
      treeselect: {
        clearable: "Clearable",
        multiple: "Multiple",
        showCheckbox: "Show Checkbox",
        checkStrictly: "Check Strictly",
        defaultExpandAll: "Default Expand All",
        expandOnClickNode: "Expand On Click Node",
        checkOnClickNode: "Check On Click Node",
        filterable: "Filterable",
        accordion: "Accordion Mode",
        indent: "Indent Distance",
        nodeKey: "Node Key",
        nodeKeyTooltip:
          "The property used as a unique identifier for each tree node, should be unique throughout the tree.",
        nodeKeyPlaceholder: "Please enter node key",
        dataConfig: "Data Configuration",
        configData: "Configure Data",
      },

      // Tree Properties
      tree: {
        showCheckbox: "Show Checkbox",
        checkStrictly: "Check Strictly",
        defaultExpandAll: "Default Expand All",
        expandOnClickNode: "Expand On Click Node",
        checkOnClickNode: "Check On Click Node",
        filterable: "Filterable",
        accordion: "Accordion Mode",
        indent: "Indent Distance",
        draggable: "Draggable",
        nodeKey: "Node Key",
        defaultValue: "Please enter default value",
        dataConfig: "Data Configuration",
        configData: "Configure Data",
        configDialogTitle: "Configure {type} Data",
        treeControl: "Tree Control",
        treeSelect: "Tree Selector",
        cascader: "Cascader",
        descriptions: "Descriptions",
        dataFormatTitle: "Data Format Description",
        dataFormatRule1: "Data must be in valid JSON array format",
        dataFormatRule2Tree:
          "Tree control requires <code>id</code>, <code>label</code> fields",
        dataFormatRule2Other:
          "Tree selector requires <code>label</code>, <code>value</code> fields",
        dataFormatRule3Other:
          "<code>value</code> field is used for form submission value",
        dataFormatRule4: "Child nodes use <code>children</code> field",
        dataFormatRule5:
          "Each node can use <code>disabled</code> to disable the node",
        exampleFormat: "Example format:",
        exampleNodeName: "Node Name",
        exampleChildNode: "Child Node",
        defaultId: "Default ID",
        formatJson: "Format",
        compressJson: "Compress",
        validateJson: "Validate",
        useExampleData: "Use Example Data",
        jsonPlaceholder: "Please enter tree data in JSON format...",
        cancel: "Cancel",
        save: "Save",
      },

      // Button Properties
      button: {
        typePlaceholder: "Please select type",
      },

      // Cascader Properties
      cascader: {
        separator: "Separator",
        separatorPlaceholder: "Please enter separator",
        showAllLevels: "Show All Levels",
        expandTrigger: "Expand Trigger",
        expandTriggerPlaceholder: "Please select expand trigger",
        checkStrictly: "Check Strictly",
        filterable: "Filterable",
        dataConfig: "Data Configuration",
        configData: "Configure Data",
        configTitle: "Configure Cascader Data",
        triggers: {
          click: "Click",
          hover: "Hover",
        },
        dataFormatTitle: "Data Format Description",
        dataFormatRule1: "Data must be in valid JSON array format",
        dataFormatRule2: "Each option requires value and label fields",
        dataFormatRule3: "Child options use children field",
        dataFormatRule4: "Optional field: disabled (disabled state)",
        exampleFormat: "Example format:",
        formatJson: "Format",
        compressJson: "Compress",
        validateJson: "Validate",
        useExampleData: "Use Example Data",
        jsonPlaceholder: "Please enter cascader data in JSON format...",
        cancel: "Cancel",
        save: "Save",
      },

      descriptions: {
        configTitle: "Configure Descriptions Data",
        titlePlaceholder: "Please enter title",
        sizePlaceholder: "Please select size",
        directionPlaceholder: "Please select direction",
        extraPlaceholder: "Please enter extra content",
        itemsConfig: "Items Configuration",
        configItems: "Configure Items",
        direction: "Direction",
        horizontal: "Horizontal",
        vertical: "Vertical",
        extra: "Extra",
        dataFormatTitle: "Data Format Description",
        dataFormatRule1: "Data must be in valid JSON array format",
        dataFormatRule2:
          "Each description item requires <code>label</code> and <code>value</code> fields",
        dataFormatRule3:
          "<code>span</code> field is used to set the number of columns occupied (optional)",
        dataFormatRule4:
          "<code>align</code> field is used to set alignment (optional)",
        dataFormatRule5:
          "<code>className</code> field is used for custom style class name (optional)",
        exampleFormat: "Example format:",
        useExampleData: "Use Example Data",
        jsonPlaceholder: "Please enter descriptions data in JSON format...",
        cancel: "Cancel",
        save: "Save",
        exampleUsername: "Username",
        exampleUsernameValue: "John Doe",
        examplePhone: "Phone",
        examplePhoneValue: "18888888888",
        exampleAddress: "Address",
        exampleAddressValue: "Chaoyang District, Beijing",
        exampleRemark: "Remark",
        exampleRemarkValue: "This is a remark message",
      },

      // Validation Configuration
      validation: {
        title: "Validation Configuration",
        required: "Required",
        requiredMessage: "Required Message",
        trigger: "Trigger",
        validationRules: "Validation Rules",
        messagePlaceholder: "Please enter required message",
        typeSelectPlaceholder: "Please select validation type",
        errorMessagePlaceholder: "Please enter error message",
        triggerPlaceholder: "Please select trigger",
        ruleValue: "Rule Value",
        addRule: "Add Rule",
        deleteRule: "Delete",
        triggerOptions: {
          blur: "On Blur",
          change: "On Change",
        },
        ruleTypes: {
          min: "Minimum Value",
          max: "Maximum Value",
          integer: "Integer Validation",
          precision: "Precision Validation",
          minItems: "Minimum Items",
          maxItems: "Maximum Items",
          minLength: "Minimum Length",
          maxLength: "Maximum Length",
          pattern: "Regular Expression",
          custom: "Custom",
        },
      },

      // Events Configuration
      events: {
        title: "Events Configuration",
        setEvents: "Set Events",
        formEventConfig: "Form Event Configuration",
        componentEventConfig: "Component Event Configuration",
        eventList: "Event List",
        selectEventPlaceholder: "Select Event Type",
        editEvent: "Edit Event: {event}",
        selectEvent: "Please select an event",
        delete: "Delete",
        cancel: "Cancel",
        save: "Save",
        codeCommentInsertHere: "Your code will be inserted here:",
        eventCodePlaceholder: "Please enter event handling code...",
        submitCodePlaceholder: "Please enter submit event handling code...",
        resetCodePlaceholder: "Please enter reset event handling code...",
        validateCodePlaceholder:
          "Please enter validation event handling code...",
        fieldValidateCodePlaceholder:
          "Please enter field validation event handling code...",
        clearValidateCodePlaceholder:
          "Please enter clear validation event handling code...",
        validateWholeForm: "Validate the entire form",
        formValidationPassed: "Form validation passed",
        formValidationFailed: "Form validation failed",
        formValidationError: "Form validation failed, please check input",
        validateSpecificField:
          "Validate specific field, please modify field name as needed",
        replaceWithActualFieldName: "Please replace with actual field name",
        fieldValidationFailed: "Field validation failed:",
        fieldValidationPassed: "Field validation passed",
        clearFormValidationState: "Clear form validation state",
        formValidationStateCleared: "Form validation state cleared",
        formData: "Form data",
        submitSuccess: "Submit successful!",
        checkFormData: "Please check form data",
        resetEventError: "Error occurred while executing reset event:",
        formValidationFailedMessage:
          "Form validation failed, please check input",
        // Event type labels
        inputEvent: "Input Event",
        valueChange: "Value Change",
        focus: "Focus",
        blur: "Blur",
        clearEvent: "Clear Event",
        visibilityChange: "Visibility Change",
        removeTag: "Remove Tag",
        expandStateChange: "Expand State Change",
        nodeClick: "Node Click",
        checkboxChange: "Checkbox Change",
        nodeCheckboxClick: "Node Checkbox Click",
        currentNodeChange: "Current Node Change",
        nodeExpand: "Node Expand",
        nodeCollapse: "Node Collapse",
        clickEvent: "Click Event",
        keyDown: "Key Down",
        keyUp: "Key Up",
        formSubmit: "Form Submit",
        formReset: "Form Reset",
        formValidate: "Form Validate",
        fieldValidate: "Field Validate",
        clearValidate: "Clear Validate",
      },
      // Form configuration
      formConfig: {
        labelWidth: "Label Width",
        labelPosition: "Label Position",
        componentSize: "Component Size",
        showSubmitButton: "Show Submit Button",
        showResetButton: "Show Reset Button",
        formEvents: "Form Events",
        configureEvents: "Configure Events",
        clickToSwitchUnit: "Click to switch unit",
        // Label position options
        rightAlign: "Right Align",
        leftAlign: "Left Align",
        topAlign: "Top",
        // Component size options
        large: "Large",
        default: "Default",
        small: "Small",
        // Yes/No options
        yes: "Yes",
        no: "No",
      },

      // Options Configuration
      options: {
        title: "Options Configuration",
        optionLabel: "Option Label",
        optionValue: "Option Value",
        addOption: "Add Option",
        delete: "Delete",
        configData: "Config Data",
        configuredItems: "Configured {count} items",
        configuredDataItems: "Configured {count} data items",
        clear: "Clear",
      },

      // Placeholder texts
      placeholders: {
        fieldId: "Please enter field ID",
        fieldName: "Please enter field name",
        placeholder: "Please enter placeholder",
        selectInputType: "Please select input type",
        separator: "Please enter separator",
        selectExpandTrigger: "Please select expand trigger",
        selectControlsPosition: "Please select controls position",
        noLimit: "0 means no limit",
        input: "Please input the ",
      },

      // Common component translations
      common: {
        formatSuccess: "Format successful",
        formatError: "Format failed",
        compressSuccess: "Compress successful",
        compressError: "Compress failed",
        validateSuccess: "JSON format is correct",
        validateError: "JSON format error",
        dataFormatError: "Data format error, please enter a valid JSON array",
        jsonFormatError: "JSON format error, please check the data format",
        saveSuccess: "Tree data saved successfully",
        exampleLevel1: "Level 1",
        exampleLevel2: "Level 2",
        exampleLevel3: "Level 3",
        option: "Option ",
        option1: "Option 1",
        option2: "Option 2",
        option3: "Option 3",
      },
    },
  },
};
